package cn.inno;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 管理后台
 *
 * @author LeungZengJian
 */
@SpringBootApplication
@EnableCaching//开启redis缓存
@EnableTransactionManagement // 开启事务管理
@MapperScan(basePackages = {"cn.inno"})
@ServletComponentScan
public class App_Admin {

    public static void main(String[] args) {
        SpringApplication.run(App_Admin.class, args);
    }

}
